﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000165 RID: 357
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BuyNpcStuffCsReq : IMessage<BuyNpcStuffCsReq>, IMessage, IEquatable<BuyNpcStuffCsReq>, IDeepCloneable<BuyNpcStuffCsReq>, IBufferMessage
	{
		// Token: 0x170004C8 RID: 1224
		// (get) Token: 0x0600102B RID: 4139 RVA: 0x0002F97C File Offset: 0x0002DB7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BuyNpcStuffCsReq> Parser
		{
			get
			{
				return BuyNpcStuffCsReq._parser;
			}
		}

		// Token: 0x170004C9 RID: 1225
		// (get) Token: 0x0600102C RID: 4140 RVA: 0x0002F983 File Offset: 0x0002DB83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BuyNpcStuffCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170004CA RID: 1226
		// (get) Token: 0x0600102D RID: 4141 RVA: 0x0002F995 File Offset: 0x0002DB95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BuyNpcStuffCsReq.Descriptor;
			}
		}

		// Token: 0x0600102E RID: 4142 RVA: 0x0002F99C File Offset: 0x0002DB9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BuyNpcStuffCsReq()
		{
		}

		// Token: 0x0600102F RID: 4143 RVA: 0x0002F9A4 File Offset: 0x0002DBA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BuyNpcStuffCsReq(BuyNpcStuffCsReq other) : this()
		{
			this.bIIHOBMMFDP_ = other.bIIHOBMMFDP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001030 RID: 4144 RVA: 0x0002F9C9 File Offset: 0x0002DBC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BuyNpcStuffCsReq Clone()
		{
			return new BuyNpcStuffCsReq(this);
		}

		// Token: 0x170004CB RID: 1227
		// (get) Token: 0x06001031 RID: 4145 RVA: 0x0002F9D1 File Offset: 0x0002DBD1
		// (set) Token: 0x06001032 RID: 4146 RVA: 0x0002F9D9 File Offset: 0x0002DBD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BIIHOBMMFDP
		{
			get
			{
				return this.bIIHOBMMFDP_;
			}
			set
			{
				this.bIIHOBMMFDP_ = value;
			}
		}

		// Token: 0x06001033 RID: 4147 RVA: 0x0002F9E2 File Offset: 0x0002DBE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BuyNpcStuffCsReq);
		}

		// Token: 0x06001034 RID: 4148 RVA: 0x0002F9F0 File Offset: 0x0002DBF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BuyNpcStuffCsReq other)
		{
			return other != null && (other == this || (this.BIIHOBMMFDP == other.BIIHOBMMFDP && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001035 RID: 4149 RVA: 0x0002FA20 File Offset: 0x0002DC20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BIIHOBMMFDP != 0U)
			{
				num ^= this.BIIHOBMMFDP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001036 RID: 4150 RVA: 0x0002FA5F File Offset: 0x0002DC5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001037 RID: 4151 RVA: 0x0002FA67 File Offset: 0x0002DC67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001038 RID: 4152 RVA: 0x0002FA70 File Offset: 0x0002DC70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BIIHOBMMFDP != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.BIIHOBMMFDP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001039 RID: 4153 RVA: 0x0002FAA4 File Offset: 0x0002DCA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BIIHOBMMFDP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BIIHOBMMFDP);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600103A RID: 4154 RVA: 0x0002FAE2 File Offset: 0x0002DCE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BuyNpcStuffCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BIIHOBMMFDP != 0U)
			{
				this.BIIHOBMMFDP = other.BIIHOBMMFDP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600103B RID: 4155 RVA: 0x0002FB13 File Offset: 0x0002DD13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600103C RID: 4156 RVA: 0x0002FB1C File Offset: 0x0002DD1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.BIIHOBMMFDP = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040006DE RID: 1758
		private static readonly MessageParser<BuyNpcStuffCsReq> _parser = new MessageParser<BuyNpcStuffCsReq>(() => new BuyNpcStuffCsReq());

		// Token: 0x040006DF RID: 1759
		private UnknownFieldSet _unknownFields;

		// Token: 0x040006E0 RID: 1760
		public const int BIIHOBMMFDPFieldNumber = 11;

		// Token: 0x040006E1 RID: 1761
		private uint bIIHOBMMFDP_;
	}
}
